﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace DuanGiuaKy
{
    public partial class ctrlU_adm_qlLop : UserControl
    {
        public ctrlU_adm_qlLop()
        {
            InitializeComponent();
        }

        private void toolStripButton1_Click(object sender, EventArgs e)
        {
            hienThiForm(1);
        }

        private void toolStripButton2_Click(object sender, EventArgs e)
        {
            hienThiForm(2);
        }
        public void hienThiForm(int intType)
        {
            frm_adm_qlLop qlLop = new frm_adm_qlLop();
            qlLop.Text = intType.ToString();
            qlLop.ShowDialog();
        }
    }
}
